package cn.bonoon.controllers.message;

import cn.bonoon.kernel.annotations.Cutoff;
import cn.bonoon.kernel.web.annotations.form.FormDetail;
import cn.bonoon.kernel.web.annotations.form.PropertyDetail;

@FormDetail(2)
public class MessageDetail implements MessageDefine {

	@PropertyDetail(0)
	private String title;

	@PropertyDetail(1)
	private String status;

	@PropertyDetail(2)
	private String senderName;

	@PropertyDetail(3)
	private String createAt;

	@PropertyDetail(value = 6, colspan = 1)
	@Cutoff(-1)
	private String content;

	// @PropertyDetail(4)
	// private int total;

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	// public int getTotal() {
	// return total;
	// }
	//
	// public void setTotal(int total) {
	// this.total = total;
	// }

}
